package com.bupt.liutong.admin.core.util;



public class CommonUtil {
	
//	public static <T> void codeToValue(List<T> formList, String mappingid, String properties){
//		String[] propertyArr = properties.split(",");
//		for (T form : formList) {
//			for (String property : propertyArr) {
//				try {
//					Object propertyVal = BeanUtils.getProperty(form,
//							property.trim());
//					BeanUtils.setProperty(form, property, ctm
//							.get(mappingid).get(propertyVal));
//				} catch (IllegalAccessException e) {
//					e.printStackTrace();
//				} catch (InvocationTargetException e) {
//					e.printStackTrace();
//				} catch (NoSuchMethodException e) {
//					e.printStackTrace();
//				}
//			}
//		}
//	}
//
//	public static void setCtm(CodeTableManage ctm) {
//		CommonUtil.ctm = ctm;
//	}
}
